<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/8/23
 * Time: 11:38
 * name:更新班级上课时间
 * url:/erpSchoolClass/update_class_time
 */

//获取参数
$oct_id = $route->bodyParams["oct_id"];//主键ID

//更新条件
$whereArr = [
    "oct_id" => $oct_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_class_time",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );